	package fr.greta.centreFormation.bean;

import java.util.ArrayList;
import java.util.Date;

public class Promotion {

	private int idPromotion;
	private Date debutPromotion;
	private Date finPromotion;
	private Cursus cursus;
	private ArrayList<Candidat> collectionDeCandidats = new ArrayList<Candidat>();
	
	

	public Promotion() {
		super();
	}
	
	public ArrayList<Candidat> getAllCandidats(){
		return collectionDeCandidats;
	}

	public Date getDebutPromotion() {
		return debutPromotion;
	}

	public void setDebutPromotion(Date debutPromotion) {
		this.debutPromotion = debutPromotion;
	}

	public Date getFinPromotion() {
		return finPromotion;
	}

	public void setFinPromotion(Date finPromotion) {
		this.finPromotion = finPromotion;
	}

	public int getIdPromotion() {
		return idPromotion;
	}

	public void setIdPromotion(int idPromotion) {
		this.idPromotion = idPromotion;
	}

	/**
	 * @return the cursus
	 */
	public Cursus getCursus() {
		return cursus;
	}

	/**
	 * @param cursus the cursus to set
	 */
	public void setCursus(Cursus cursus) {
		this.cursus = cursus;
	}

	/**
	 * @return the collectionDeCandidats
	 */
	public ArrayList<Candidat> getCollectionDeCandidats() {
		return collectionDeCandidats;
	}

	/**
	 * @param collectionDeCandidats the collectionDeCandidats to set
	 */
	public void setCollectionDeCandidats(ArrayList<Candidat> collectionDeCandidats) {
		this.collectionDeCandidats = collectionDeCandidats;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "Promotion [idPromotion=" + idPromotion + ", debutPromotion="
				+ debutPromotion + ", finPromotion=" + finPromotion
				+ ", cursus=" + cursus + ", collectionDeCandidats="
				+ collectionDeCandidats + "]";
	}

	

	


	

	
	
}